package com.java.system.common.entity.system;

import com.java.system.common.entity.BaseEntity;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName: SysCompanyAreaAuth
 * @Description:
 * @Version: v1.0.0
 * @Author: Shan Feiyang
 * @Date: 2019/9/12 13:57
 * Modification History:
 * Date           Author           Version     Description
 * -------------------------------------------------------------
 * 2019/9/12      Shan Feiyang        v1.0.0         创建
 */

@ApiModel(value = "公司区域负责人")
@Table(name = "sys_company_area_auth")
@Data
@Accessors(chain = true)
public class SysCompanyAreaAuth extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 公司ID
     */
    @Column(name = "company_id")
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    /**
     * 区域id
     */
    @Column(name = "area_id")
    @ApiModelProperty(value = "区域id")
    private String areaId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    @ApiModelProperty(value = "用户id")
    private String userId;


}

